package com.p2p.auth.service.hystrix;


import com.p2p.auth.common.base.JsonResult;
import com.p2p.auth.domain.dto.TemplateMsgDTO;
import com.p2p.auth.service.remote.ISms;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by lipei on 2018/2/20.
 */
@Component
public class SmsRemoteHystrix implements ISms {


    @Override
    public JsonResult getToken() {
        return null;
    }

    @Override
    public JsonResult sendVerificationCode(@RequestParam(value = "mobile") String mobile, @RequestParam(value = "token") String token, @RequestParam(value = "tempId") String tempId) {
        return null;
    }

    @Override
    public JsonResult validateCode(@RequestParam(value = "mobile") String mobile, @RequestParam(value = "code")  String code) {
        return null;
    }

    @Override
    public JsonResult sendTemplateMsg(@RequestBody TemplateMsgDTO req) {
        return null;
    }
}
